package com.example.teacher.service.impl;

import com.example.teacher.entity.EduComment;
import com.example.teacher.mapper.EduCommentMapper;
import com.example.teacher.service.EduCommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 评论 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2022-07-07
 */
@Service
public class EduCommentServiceImpl extends ServiceImpl<EduCommentMapper, EduComment> implements EduCommentService {

    @Override
    public boolean insert(EduComment comment) {
        baseMapper.insertComment(comment);
        return true;
    }
}
